#ifndef MYTHREAD_H
#define MYTHREAD_H

#include <QObject>
#include <QThread>
#include <QTcpSocket>
#include <QDebug>

class Mythread : public QThread
{
//    Q_OBJECT
public:
    explicit Mythread(QTcpSocket *client, QByteArray ba);

    void run();


private:

    QTcpSocket *client;
    QByteArray ba;

};

#endif // MYTHREAD_H
